package com.liu.wode.mapper;

import com.liu.wode.pojo.Department;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DepartmentMapper {
    List<Department> queryDepartmentList();

    Department queryDepartmentById(int Did);

    int addDepartment(Department department);

    int upDepartment(Department department);

    int delDepartment(int Did);
}
